<%@ page language="java" import="java.util.*,zhjb.platform.module.schedule.bean.*,zhjb.platform.web.module.system.bean.User" pageEncoding="UTF-8"%>
<%
	Object user=request.getSession(true).getAttribute("user");
	List<DateBlock> dataBlocks=(List<DateBlock>)request.getAttribute("dataBlocks");
	Integer year=(Integer)request.getAttribute("year");
	Integer month=(Integer)request.getAttribute("month");
	String smonth=(month+1)+"";
	if(month+1<10){
		smonth="0"+(month+1);
	}
%>
<jsp:include page="/include/nocache.jsp"></jsp:include>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>日程安排</title>
    <script src="${pageContext.request.contextPath}/system/js/jquery-1.4.4.min.js" type="text/javascript"></script>
    <!--[if IE]>
		<script type="text/javascript">
			(function(){
				var b=("abbr,article,aside,audio,canvas,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video").split(","),a=b.length;while(a--){document.createElement(b[a])}})();
		</script>
	<![endif]-->
  	<style>
	  	header, footer, nav, section, article {display:block;}<!--HTML5标签-->
	    .curdate{background-color:#999}
	    .mod-topbar{
  		z-index:1203;
  		position:fixed;
  		padding-bottom:0px;
  		height:80px;top:0px;
  		right:0px;
  		left:0px;
  		_height:38px;
  		_position:absolute;
	  	background-color:#0361ca 
	  	}
	  	.mod-topbar .mod-topbar-bgframe{
	  		border-bottom:medium none;
	  		position:absolute;
	  		filter:alpha(opacity=0); BORDER-LEFT: medium none;
	  		width:100%;
	  		height:40px;
	  		border-top:medium none;
	  		border-right:medium none;
	  		opacity:0;
	  	}
	  	.mod-topbar .mod-topbar-pseudo-real{
	  		background-color:#3fa7cb;
	  		background:none transparent scroll repeat 0% 0%;
	  	}
	  	.clearfix:after{
	  		height:0px;
	  		clear:both;
	  		content:'\20';
	  	}
	  	.clearfix{
	  		zoom:1;
	  	}
	  	.mod-topbar .wrapper-box{
	  		position:relative;
	  		padding-bottom:0px;
	  		margin:0px auto;
	  		width:980px;
	  		height:35px;
	  	}
	  	.mod-topbar .left-box{
	  		float:left;
	  		padding-top:3px;
	  	}
	  	.mod-topbar .center-box{
	  		float:left;
	  		heght:35px;
	  		margin-left:50px
	  	}
	  	.mod-topbar .right-box{
	  		margin-right:-7px;
	  		float:right;
	  		heght:35px;
	  	}
	  	.mod-topbar .logo-box{
	  		float:left;
	  		margin-left:10px;
	  	}
	  	.mod-topbar .q-logo{
	  		width:93px;
	  		height:30px;
	  		_background-image:none;
	  		background:url() no-repeat left top
	  	}
	  	.fontcls{font-family:"Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica, STHeiti;font-size:12px}
	  	.fontcls14{font-family:"Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica, STHeiti;font-size:14px}
	  	.fontcls16{font-family:"Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica, STHeiti;font-size:16px}
	  	.fontcls50{font-family:"Microsoft Yahei", "微软雅黑", Tahoma, Arial, Helvetica, STHeiti;font-size:50px}
		.wordwrap {word-wrap:break-word;word-break:break-all;}  	
	  	.mod-page-body{
	  		min-height:100%;
	  		height:auto;
	  		_height:100%;
	  		zoom:1;
	  		color:#454545;
	  	}
	  	.mod-page-body .mod-page-main{
	  		padding-bottom:85px;
	  		padding-top:36px;
	  	}
	  	.mod-page-body .mod-page-main .x-page-container{
	  		padding-bottom:0px;
	  		margin:0px;
	  		padding-left:0px;
	  		padding-right:0px;
	  		zoom:1;
	  		padding-top:0px;
	  	}
	  	.grid-98{margin:0px auto;overflow:hidden;width:980px}
	  	.mod-topspaceinfo{padding-bottom：45px;padding-left:0px;padding-right:0px;padding-top:45px}
	  	.mod-topspaceinfo H1{padding-left:10px}
	  	.mod-topspaceinfo H1 A{color:#555;font-size:50px}
	  	.mod-topspaceinfo .mod-topspaceinfo-description{
	  		line-height:2em;
	  		color:#000;
	  		font-size:14px;
	  	}
	  	.mod-content{
	  		background-image:url(); 
	  		BORDER-BOTTOM: #e1e1e1 1px solid;
	  		background-color:#fff;
	  		background-repeat:repeat-y;
	  		background-position:center top;
	  		border-top:#e1e1e1 1px solid;
	  		box-shadow:0 -4px 10px #999;
	  		-webkit-box-shadow:0 -4px 10px #999;
	  		-moz-box-shadow:0 -4px 10px #999;
	  		float:left;
	  	}
	  	.grid-77{
	  		padding:0px;
	  		margin:0px auto;
	  		overflow:hidden;
	  		width:770px;
	  	}
	  	
	  	@media only screen and (max-device-width: 480px) {  
 
		}  
		@media only screen and (max-device-width: 480px) {  
		 
		}  
    </style>
  </head>
  
  <body>
  	 <header id=modTopbar class=mod-topbar>
 		<IFRAME class=mod-topbar-bgframe></IFRAME>
		<DIV class=mod-topbar-pseudo-real>
			<DIV class="wrapper-box clearfix">
				<DIV class=left-box>
				</DIV>
				<DIV class=center-box>
					
				</DIV>
				<DIV class=right-box>
					<div class="fontcls" style='margin-top:10px;'>
						<%//if(user==null){%>
							<form id="loginFrom" name="loginFrom" action="${pageContext.request.contextPath}/system/login.zhtml" method="post" onsubmit="login(this);return false;">
								<div style="float: left">
									<font size="12" color=#FFFFFF>用户</font>&nbsp;&nbsp;								
								</div>
								<div style="float: left;margin-top: 14px">
									<input type="text" name="userName" value="" style="width:250px;height:42px">&nbsp;&nbsp;
								</div>
								<div style="float: left">
									<font size="12" color=#FFFFFF>密码</font>&nbsp;&nbsp;						
								</div>
								<div style="float: left;margin-top: 14px">
									<input type="password" value="" name="password" style="width:250px;height:42px">&nbsp;&nbsp;
								</div>
								<div style="float: left;margin-top: 14px">
									<button type="submit" style="border:1px solid #FFFFFF;cursor: POINTER;width:100px;height:42px;background-color: #FFFFFF">
										<font size="6" color=#0361ca >提&nbsp;&nbsp;交</font>
									</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								</div>
							</form>
						<%//} %>
					</div>
				</DIV>
			</DIV>
		</DIV>
	</header>
  	<div id="schedule" style="margin-top:80px">
   		<jsp:include page="/system/module/schedule/schedule.jsp"></jsp:include>
   	</div>
  </body>
  <script>
	function changeDate(year,month){
		var url="${pageContext.request.contextPath}/schedule/changedate.zhtml?year="+year+"&month="+month+"&_rad="+new Date().getTime();
		$.get(url,function(data){
			$("#schedule").html(data)
		});
	}

	function login(frm){
		var $from=$(frm);
		var param = $from.serializeArray();
		$.post($from.attr("action"), param, function(data) {
			window.location.reload();
		});
	}
</script>
</html>
